const serviceCommon = require('../../util/serviceCommon');
const categoryDao = require('../dao/categoryDao');

const service = {
    handleGetCategory: async () => {
        let result;
        result = serviceCommon.getListMethod(categoryDao, "handleGetCategory");
        return result;
    },
    handleGetImgUrl: async () => {
        let result;
        result = serviceCommon.getListMethod(categoryDao, "handleGetImgUrl");
        return result;
    },
    handleGetCase: async () => {
        let result;
        result = serviceCommon.getListMethod(categoryDao, "handleGetCase");
        return result;
    }
};
module.exports = service;